package AbstractTransaction

import "SalaryPayment/Model"

type ChangeClassificationTransaction struct {
	ChangeEmployeeTransaction
	ClassificationTransaction
}

func (transaction *ChangeClassificationTransaction) Change(employee *Model.Employee) {
	pc := transaction.GetClassification()
	employee.SetClassification(pc)

	ps := transaction.GetSchedule()
	employee.SetSchedule(ps)
}
